package com.qr.bean.wmyh;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:03:16
 */
@ApiModel(value = "jbr_user_grade_recharge", description = "会员购买等级记录")
@TableName(value = "jbr_user_grade_recharge")
public class JbrUserGradeRecharge implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "会员编号")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "等级编号")
	@TableField(value="grade_id")
	private Integer grade_id;
	@ApiModelProperty(value = "等级名称")
	@TableField(value="grade_title")
	private String grade_title;
	@ApiModelProperty(value = "有效时长")
	@TableField(value="available_day")
	private Integer available_day;
	@ApiModelProperty(value = "支付金额")
	@TableField(value="pay_price")
	private BigDecimal pay_price;
	@ApiModelProperty(value = "订单编号")
	@TableField(value="recharge_num")
	private String recharge_num;
	@ApiModelProperty(value = "添加时间")
	@TableField(value="addtime")
	private Timestamp addtime;
	@ApiModelProperty(value = "支付时间")
	@TableField(value="paytime")
	private Timestamp paytime;
	@ApiModelProperty(value = "支付流水号")
	@TableField(value="pay_serial_number")
	private String pay_serial_number;
	@ApiModelProperty(value = "1微信支付  2支付宝支付  3银联支付")
	@TableField(value="pay_type")
	private Integer pay_type;
	@ApiModelProperty(value = "0,未支付 1,已支付 2待订单支付")
	@TableField(value="pay_status")
	private Long pay_status;
	@ApiModelProperty(value = "团长id")
	@TableField(value="head_id")
	private Integer head_id;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public Integer getGrade_id() {
		return grade_id;
	}
	public void setGrade_id(Integer grade_id) {
		this.grade_id = grade_id;
	}
 
	public String getGrade_title() {
		return grade_title;
	}
	public void setGrade_title(String grade_title) {
		this.grade_title = grade_title;
	}
 
	public Integer getAvailable_day() {
		return available_day;
	}
	public void setAvailable_day(Integer available_day) {
		this.available_day = available_day;
	}
 
	public BigDecimal getPay_price() {
		return pay_price;
	}
	public void setPay_price(BigDecimal pay_price) {
		this.pay_price = pay_price;
	}
 
	public String getRecharge_num() {
		return recharge_num;
	}
	public void setRecharge_num(String recharge_num) {
		this.recharge_num = recharge_num;
	}
 
	public Timestamp getAddtime() {
		return addtime;
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
 
	public Timestamp getPaytime() {
		return paytime;
	}
	public void setPaytime(Timestamp paytime) {
		this.paytime = paytime;
	}
 
	public String getPay_serial_number() {
		return pay_serial_number;
	}
	public void setPay_serial_number(String pay_serial_number) {
		this.pay_serial_number = pay_serial_number;
	}
 
	public Integer getPay_type() {
		return pay_type;
	}
	public void setPay_type(Integer pay_type) {
		this.pay_type = pay_type;
	}
 
	public Long getPay_status() {
		return pay_status;
	}
	public void setPay_status(Long pay_status) {
		this.pay_status = pay_status;
	}
 
	public Integer getHead_id() {
		return head_id;
	}
	public void setHead_id(Integer head_id) {
		this.head_id = head_id;
	}

}